Practice Test


Q1) The purpose of control statements is to control the flow of execution in a program Show Answer


Q2) Relational operators can be used between operands of same data type only. Show Answer


Q3) Whenever a relational operator is used, the result of operation is either 0 or 1. Show Answer


Q4) If statement cannot be nested inside another If statement. Show Answer


Q5) Comparison of strings is done by using the ASCII code. Show Answer


Q6) Which of the following statements is most appropriate for relational operators: Show Answer


Q7) The ASCII code of alphabets is _______ than that of digits 0 to 9. Show Answer


Q8) What is the purpose of the if… then statement? Show Answer


Q9) What is the purpose of the if… then… else statement? Show Answer